<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.20"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>yLib: yThread Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">yLib
   &#160;<span id="projectnumber">V0.0.9 beta</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.20 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classyThread.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="classyThread-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">yThread Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="ystart_8hpp_source.html">ystart.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aea4c339abdf5dc1d85d3d4484dc65629"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyThread.html#aea4c339abdf5dc1d85d3d4484dc65629">yThread</a> ()</td></tr>
<tr class="separator:aea4c339abdf5dc1d85d3d4484dc65629"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a569c1831894c174f37a131e62848b2f3"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyThread.html#a569c1831894c174f37a131e62848b2f3">yThread</a> (const <a class="el" href="classyThread.html">yThread</a> &amp;th)</td></tr>
<tr class="separator:a569c1831894c174f37a131e62848b2f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5bc8f4b17c499a44b76694a9ec2ab51f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyThread.html#a5bc8f4b17c499a44b76694a9ec2ab51f">yThread</a> (<a class="el" href="classyThread.html">yThread</a> &amp;&amp;th)</td></tr>
<tr class="separator:a5bc8f4b17c499a44b76694a9ec2ab51f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2045a74fe2acc55ce6527360326c51a7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classyThread.html">yThread</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyThread.html#a2045a74fe2acc55ce6527360326c51a7">operator=</a> (<a class="el" href="classyThread.html">yThread</a> &amp;th)</td></tr>
<tr class="separator:a2045a74fe2acc55ce6527360326c51a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac85c3c811ac109bb5c98730c6b3afe97"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classyThread.html">yThread</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyThread.html#ac85c3c811ac109bb5c98730c6b3afe97">operator=</a> (<a class="el" href="classyThread.html">yThread</a> &amp;&amp;th)</td></tr>
<tr class="separator:ac85c3c811ac109bb5c98730c6b3afe97"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:ab9e2e31580117ae269a2f5b74b1c4cba"><td class="memItemLeft" align="right" valign="top"><a class="el" href="src_2CMakeLists_8txt.html#a296644e9ff1d0a602b4703f361406374">std::string</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyThread.html#ab9e2e31580117ae269a2f5b74b1c4cba">th_name</a></td></tr>
<tr class="separator:ab9e2e31580117ae269a2f5b74b1c4cba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad674263ef7d2b2cdf45036d407bc4e9c"><td class="memItemLeft" align="right" valign="top">pthread_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyThread.html#ad674263ef7d2b2cdf45036d407bc4e9c">th_id</a></td></tr>
<tr class="separator:ad674263ef7d2b2cdf45036d407bc4e9c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0027debd9fb97420e199e3c5fe210b46"><td class="memItemLeft" align="right" valign="top">pthread_attr_t *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyThread.html#a0027debd9fb97420e199e3c5fe210b46">th_attr</a> = NULL</td></tr>
<tr class="separator:a0027debd9fb97420e199e3c5fe210b46"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a1807adda3da1cbf6e012029c119f52"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ystart_8hpp.html#ac4d1d0002b8fc15edd83cf2d0998911e">ThreadRoutine</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyThread.html#a2a1807adda3da1cbf6e012029c119f52">th_routine</a></td></tr>
<tr class="separator:a2a1807adda3da1cbf6e012029c119f52"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a283519886d5d2beb42727e1256069740"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyThread.html#a283519886d5d2beb42727e1256069740">th_param</a></td></tr>
<tr class="separator:a283519886d5d2beb42727e1256069740"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="aea4c339abdf5dc1d85d3d4484dc65629"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aea4c339abdf5dc1d85d3d4484dc65629">&#9670;&nbsp;</a></span>yThread() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">yThread::yThread </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a569c1831894c174f37a131e62848b2f3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a569c1831894c174f37a131e62848b2f3">&#9670;&nbsp;</a></span>yThread() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">yThread::yThread </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classyThread.html">yThread</a> &amp;&#160;</td>
          <td class="paramname"><em>th</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a5bc8f4b17c499a44b76694a9ec2ab51f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5bc8f4b17c499a44b76694a9ec2ab51f">&#9670;&nbsp;</a></span>yThread() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">yThread::yThread </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classyThread.html">yThread</a> &amp;&amp;&#160;</td>
          <td class="paramname"><em>th</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ac85c3c811ac109bb5c98730c6b3afe97"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac85c3c811ac109bb5c98730c6b3afe97">&#9670;&nbsp;</a></span>operator=() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classyThread.html">yThread</a>&amp; yThread::operator= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classyThread.html">yThread</a> &amp;&amp;&#160;</td>
          <td class="paramname"><em>th</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a2045a74fe2acc55ce6527360326c51a7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2045a74fe2acc55ce6527360326c51a7">&#9670;&nbsp;</a></span>operator=() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classyThread.html">yThread</a>&amp; yThread::operator= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classyThread.html">yThread</a> &amp;&#160;</td>
          <td class="paramname"><em>th</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a0027debd9fb97420e199e3c5fe210b46"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0027debd9fb97420e199e3c5fe210b46">&#9670;&nbsp;</a></span>th_attr</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">pthread_attr_t* yThread::th_attr = NULL</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ad674263ef7d2b2cdf45036d407bc4e9c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad674263ef7d2b2cdf45036d407bc4e9c">&#9670;&nbsp;</a></span>th_id</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">pthread_t yThread::th_id</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ab9e2e31580117ae269a2f5b74b1c4cba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab9e2e31580117ae269a2f5b74b1c4cba">&#9670;&nbsp;</a></span>th_name</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="src_2CMakeLists_8txt.html#a296644e9ff1d0a602b4703f361406374">std::string</a> yThread::th_name</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a283519886d5d2beb42727e1256069740"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a283519886d5d2beb42727e1256069740">&#9670;&nbsp;</a></span>th_param</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* yThread::th_param</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a2a1807adda3da1cbf6e012029c119f52"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2a1807adda3da1cbf6e012029c119f52">&#9670;&nbsp;</a></span>th_routine</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ystart_8hpp.html#ac4d1d0002b8fc15edd83cf2d0998911e">ThreadRoutine</a> yThread::th_routine</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>/home/sky/yLib/examples/ProgramFrameExamples/<a class="el" href="ystart_8hpp_source.html">ystart.hpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="classyThread.html">yThread</a></li>
    <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20 </li>
  </ul>
</div>
</body>
</html>
